package com.HeJing.类的成员之三_构造器;

/**
 * ClassName: PersonTest
 * Package: com.HeJing.类的成员之三_构造器
 * Description:
 *
 * @Author: HeJing
 * @Create: 2023-03-24 19:06
 * @Version: 1.0
 */
public class PersonTest {
    public static void main(String[] args) {
        Person p1 = new Person(100);
        System.out.println(p1.age);
        p1.eat();
    }
}





























